/**
 * Proyecto: Cognitum
 * Global IT Services 2008
 * @author Mislas
 */

Cognitum.Aplicacion.Home.Editor = Ext.extend(Karma.EBCard, {

	isNew: false,
	
	entityId: 0,

	initComponent: function(){
		Ext.apply(this, {
			sections: [{
				title: 'Plantilla',
				items: [{
					xtype: 'hidden',
					name: 'Id'
				}, {
					xtype: 'htmleditor',
					name: 'Code'
				}]
			}]
		});
		Cognitum.Aplicacion.Home.Editor.superclass.initComponent.apply(this, arguments);
	},
	
    updateControls: function(value){
        this.cerrarBtn.disable();
    }
	
});

Ext.reg('home.editor', Cognitum.Aplicacion.Home.Editor);
